package com.yxx.sys.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.yxx.sys.domain.User;
import com.yxx.sys.mapper.UserMapper;
import com.yxx.sys.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serializable;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yxx
 * @since 2020-08-12
 */
@Service
@Transactional
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

  @Override
  public boolean save(User entity) {
    return super.save(entity);
  }

  @Override
  public boolean updateById(User entity) {
    return super.updateById(entity);
  }

  @Override
  public boolean removeById(Serializable id) {
    return super.removeById(id);
  }

  @Override
  public User getById(Serializable id) {
    return super.getById(id);
  }
}
